package com.example.wx.persistence;

import com.example.wx.domain.Account;
import org.springframework.stereotype.Repository;

@Repository("accountDAO")
public interface AccountDAO {

    Account findAccountByUsernameAndPassword(String username,String password);

    boolean findAccountByUsername(String username);

    int registerNewAdmin(Account account);



}
